package com.tbit.uqbike.client.pojo;

import lombok.experimental.Accessors;

/**
 * 用户金额变动日志
 *
 * @author Leon
 * 2017年4月26日 下午5:54:27
 */
@Accessors(chain = true)
public class UserAccountLog {
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 账户id
     */
    private Integer accountId;
    /**
     * 消费类型0消费1充值
     */
    private Integer type;
    /**
     * 余额类型 0个人余额，1礼品卡
     */
    private Integer moneyType;
    /**
     * 变动金额
     */
    private Double money;
    /**
     * 操作时间
     */
    private String operaTime;
    /**
     * 备注
     */
    private String remark;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getOperaTime() {
        return operaTime;
    }

    public void setOperaTime(String operaTime) {
        this.operaTime = operaTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getMoneyType() {
        return moneyType;
    }

    public void setMoneyType(Integer moneyType) {
        this.moneyType = moneyType;
    }

    @Override
    public String toString() {
        return "UserAccountLog{" +
                "userId=" + userId +
                ", accountId=" + accountId +
                ", type=" + type +
                ", moneyType=" + moneyType +
                ", money=" + money +
                ", operaTime='" + operaTime + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
